<template>
    <div class="wrapper">
        <div class="left-page">
            <Search v-on:onSearch = "onSearch"/>
            <div class="cell-row">
                <DBRow/>
                <XXtxRow/>
            </div>
            <div class="cell-row">
                <BSRow/>
            </div>
        </div>
        <div class="right-page">
            <MyStat/>
            <TakeNumber/>
            <BJStat/>
            
        </div>
       
    </div>
</template>
<script>
import Pubsub from "../../utils/pubsub";

import DBRow from "../../components/accreditationWorkbench/dbRow.vue"; //待办事项
import XXtxRow from "../../components/accreditationWorkbench/xxtxRow.vue"; //预警提醒
import BSRow from "../../components/accreditationWorkbench/bsRow.vue"; //办事指南
import MyStat from "../../components/accreditationWorkbench/myStat.vue"; //我的统计
import TakeNumber from "../../components/accreditationWorkbench/takeNumber.vue"; //取号情况
import BJStat from "../../components/accreditationWorkbench/bjStat.vue"; //办件统计
import Search from "../../components/common/search.vue";//搜索
import {post,get} from "../../utils/request";
export default {
    components: {
        DBRow,
        XXtxRow,
        BSRow,
        MyStat,
        TakeNumber,
        BJStat,
        Search,
    },
    data() {
        return {
            searchList:[],
            guidList:[1,2],
        };
    },
    mounted(){
    },
    methods:{
        onSearch(){
            // this.searchList = [1,2,3,4,1,1,1,1,1]
            // removeCookie("token");
            // Pubsub.publish("showSearchDialog");
        }
    }
};
</script>

<style lang="scss" scoped>
.wrapper {
    display: flex;
    align-items: center;
}
.search-row {
    display: flex;
    margin-bottom: 30px;
}
.left-page {
    flex: 2;
    padding: 30px 30px 20px 20px;
    
    .cell-row {
        display: flex;
        margin-bottom: 20px;
        &:last-child {
            margin-bottom: 0;
        }
    }
}
.right-page {
    flex: 1;
    background: #fff;
    padding: 25px 30px 0 30px;
}
</style>
